package com.ck.express.api

import com.ck.express.models.GridRequest
import com.ck.express.models.LoginRequest
import com.ck.express.vo.ApiResponse
import com.ck.express.vo.GridVO
import com.ck.express.vo.LoginVO
import retrofit2.http.Body
import retrofit2.http.POST

// 网络服务接口 - ApiService.kt (更新)
interface ApiService {
    @POST("login") // 替换为实际登录接口路径
    suspend fun login(@Body request: LoginRequest): ApiResponse<LoginVO>

    // 其他接口...
    @POST("gird/query")
    suspend fun queryGird(@Body request: GridRequest): ApiResponse<GridVO>
}
